using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;

namespace PKGames.MiniGames.VoxelGame.UI.GameUI.Scripts
{
	public class SettingsController : MonoBehaviour
	{
		[SerializeField]
		private Button _resetStageButton;

		[SerializeField]
		private Button _leaveGameButton;

		public void Setup(UnityAction openResetProgressPopup, UnityAction leaveGame)
		{
			_resetStageButton.onClick.AddListener(openResetProgressPopup);
			_leaveGameButton.onClick.AddListener(leaveGame);
		}
	}
}
